/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.upf.grupE.impl;

import java.io.Serializable;



/**
 *
 * @author xday666
 */
public  class searchProfile implements Serializable {

    public static final int FREETEXT = 0;
    public static final int BYONTOLOGY = 1;
    public static final int BYNEWSTITLE = 2;
    public static final int BYNEWSTEXT = 3;
    public static final int BYNEWSADJACENT = 4;
    
    public int type;
    public String key;
    public String ontology;

    public searchProfile(int type, String key){
        this.type=type;
        this.key=key;
    }
    public searchProfile(String key, String ontology){
        this.type=this.BYONTOLOGY;
        this.key=key;
        this.ontology=ontology;
    }


}
